package cn.ekuma.epos.bean.util.sale;

import com.openbravo.bean.sales.TicketLine;
import com.openbravo.bean.shard.I_WarpEntity;

public class TicketLineWarp implements I_WarpEntity<TicketLine>{
	TicketLine l;

    public TicketLineWarp(TicketLine l) {
        this.l = l;
    }

   public String printName() {
        return TicketLineHelper.printName(l);
    }

    public  String printMultiply() {
        return TicketLineHelper.printMultiply(l);
    }

    public  String printPrice() {
        return TicketLineHelper.printPrice(l);
    }

    public  String printPriceTax() {
       return TicketLineHelper.printPriceTax(l);
    }

    public  String printTax() {
       return TicketLineHelper.printTax(l);
    }

    public  String printTaxRate() {
        return TicketLineHelper.printTaxRate(l);
    }

    public  String printSubValue() {
        return TicketLineHelper.printSubValue(l);
    }

    public  String printValue() {
        return TicketLineHelper.printValue(l);
    }

    public  String printPriceRate(){
        return TicketLineHelper.printPriceRate(l);
    }

    public  String printDefSubValue() {
        return TicketLineHelper.printDefSubValue(l);
    }

    public  String printDefValue() {
        return TicketLineHelper.printDefValue(l);
    }

    public String getProductAttSetInstDesc(){
        return l.getProductAttSetInstDesc();
    }

	@Override
	public TicketLine getWarpBean() {
		return l;
	}
	
	
	public String printScore(){
		return TicketLineHelper.printScore(l);
	}

	public String getExtProp(){
		String retStr=l.getExtProp();
		return retStr==null?"":retStr;
	}
}
